package com.hagos;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;
import android.view.View.OnClickListener;
import android.view.View;
import android.content.Intent;
import android.app.AlertDialog;

public class Sudoku extends Activity implements View.OnClickListener {
	Button about_btn;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.main);
		
		about_btn = (Button)findViewById(R.id.about_button);
		if(about_btn == null ) {
			AlertDialog.Builder foo = new AlertDialog.Builder(this);
			foo.setMessage("about_btn is null");
		} 
		else {
			about_btn.setOnClickListener(this);
		}
    }

	public void onClick(View view) {
		Intent i = new Intent(this, About.class);
		startActivity(i);
	}
}
